package com.liwei.appio;

import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;

public class MyApp6 {
    public static void main(String[] args) {
        String temp = "\n老科学家简历库进口量时间";
        String path = "d:\\bb.txt";
        //写入
        try {
            FileWriter fileWriter = new FileWriter(path, true);
            BufferedWriter bufferedWriter = new BufferedWriter(fileWriter);
            bufferedWriter.write(temp);
            bufferedWriter.flush();
            bufferedWriter.close();
            fileWriter.close();

        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
